hysop.backend.device.codegen.functions.advection_rhs module¶
- class hysop.backend.device.codegen.functions.advection_rhs.DirectionalAdvectionRhsFunction(typegen, ftype, work_dim, nparticles, is_cached, boundary, relative_velocity, ptr_restrict=True, itype='int', known_args=None, field_infos=None)[source]¶
Bases:
OpenClFunctionCodeGenerator
- build_prototype(typegen, work_dim, itype, ftype, vtype, nparticles, ptr_restrict, storage, is_cached, is_periodic, field_infos)[source]¶